<template>
	<view>
		<image :src="url" mode=""></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url:null
			}
		},
		onLoad(options){
			console.log(options.id);
			this.$u.post(`/vehicleService/invoice/detail`,{invoiceId:options.id}).then(res => {
				if(res.code == 0){
					this.url = res.result.pdfUrl
				}
			})
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
